package com.itheima.reggie.service;

import com.itheima.reggie.commom.ResultInfo;
import com.itheima.reggie.domain.Cart;
import com.itheima.reggie.domain.Category;

import java.util.List;

/**
 * @author Sea
 * @date 2023/3/2 11:55
 */
public interface CategoryService {
    List<Category> findAll();

    void save(Category category);

    void update(Category category);


    void deleteById(Long id);


    List<Category> list(Integer type);

}
